package com.zhuangjie.coupon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuangjie.coupon.entity.CouponBatch;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhuangjie
 * @since 2024-02-28
 */
public interface CouponBatchMapper extends BaseMapper<CouponBatch> {

    CouponBatch queryCouponBatchToClaim( @Param("userId") Long userId, @Param("batchId") Long batchId, @Param("redeemableStatus") byte redeemableStatus, @Param("shopIssuedType") byte shopIssuedType, @Param("shopDisplayCouponObtainWay") byte shopDisplayCouponObtainWay);

}
